package com.hongsheng.pojo;/*
@author:刘逸思普
@Date:2023/8/10
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Role {
    private Integer id;
    private String roleName;//角色名
    private String department;//所属部门
    private List<Authority> authorities;
    private List<Integer> aid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastTime;


}
